package com.mbyte.easy.admin.service.impl;

import com.mbyte.easy.admin.entity.Equipment;
import com.mbyte.easy.admin.mapper.EquipmentMapper;
import com.mbyte.easy.admin.service.IEquipmentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 设备信息表 服务实现类
 * </p>
 *
 * @author lp
 * @since 2020-04-30
 */
@Service
public class EquipmentServiceImpl extends ServiceImpl<EquipmentMapper, Equipment> implements IEquipmentService {


    @Autowired
    EquipmentMapper equipmentMapper;

    /**
     * 查询
     * @param equipment
     * @return
     */
    public Equipment selectByPrimaryKey(String equipment) {
        return equipmentMapper.selectByPrimaryKey(equipment);
    }

}
